import request from '@/utils/request'

// 经销商信息相关操作---------------------------------------------------------------------------------------------

// 添加经销商信息
export function reqAddDealerInfo(data) {
    return request({
        url: '/dealer/addDealerInfo',
        method: 'post',
        data
    })
}
// 更新经销商信息
export function reqUpdateDealerInfo(data) {
    return request({
        url: '/dealer/updateDealerInfo',
        method: 'post',
        data
    })
}
// 获取经销商信息
export function reqGetDealerInfos(data) {
    return request({
        url: '/dealer/getDealerInfos',
        method: 'post',
        data
    })
}
